package com.binest.inclusionExamine.service;



import com.binest.common.core.page.TableDataInfo;
import com.binest.inclusionExamine.domain.InclusionExamine;

import java.util.List;

/**
 * LabelService接口
 * 
 * @author binest
 * @date 2024-01-04
 */
public interface IInclusionExamineService 
{
    /**
     * 查询收录审核
     * 
     * @param id 收录审核主键
     * @return 收录审核
     */
    InclusionExamine selectInclusionExamineById(String id);

    /**
     * 查询收录审核列表
     * 
     * @param inclusionExamine 收录审核
     * @return 收录审核集合
     */
    List<InclusionExamine> selectInclusionExamineList(InclusionExamine inclusionExamine);

    TableDataInfo selectMyInclusionExamineList(InclusionExamine inclusionExamine);
    /**
     * 新增收录审核
     * 
     * @param inclusionExamine 收录审核
     * @return 结果
     */
    int insertInclusionExamine(InclusionExamine inclusionExamine);

    /**
     * 修改收录审核
     * 
     * @param inclusionExamine 收录审核
     * @return 结果
     */
    int updateInclusionExamine(InclusionExamine inclusionExamine);

    int examine(InclusionExamine inclusionExamine) throws Exception;
    String getExamineStatus(String projectId) ;

    int updateStatus(String id, String status);
    int updateStatusByHash(String qmHash, String status);
    int updateClaimStatus(String qmHash, String claimStatus);


    /**
     * 批量删除收录审核
     * 
     * @param ids 需要删除的收录审核主键集合
     * @return 结果
     */
    int deleteInclusionExamineByIds(String[] ids);

    /**
     * 删除收录审核信息
     * 
     * @param id 收录审核主键
     * @return 结果
     */
    int deleteInclusionExamineById(String id);

    int updateApproveAfterData(String oldProjectId, String newProjectId);
}
